﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace ARchGL.Platform.Electrocar.Core
{
    /// <summary>
    /// 登录 Session 数据实体
    /// </summary>
    [Table("ev_sessions")]
    public class Sessions : EntitySoftDeleteBase
    {
        /// <summary>
        /// 用户标识
        /// </summary>
        public Guid AccountId { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 帐号
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime ExpiredTime { get; set; }
        /// <summary>
        /// 令牌
        /// </summary>
        public string Token { get; set; }
        /// <summary>
        /// 角色Ids
        /// </summary>
        public string Roles { get; set; }
    }
}
